package top.infopub.exception;

/**
 * ServiceException : 封装业务层发生的异常
 * @author Awoke
 * @version 2018年9月13日
 * @see ServiceException
 * @since
 */
public class ServiceException extends UserException {

    private static final long serialVersionUID = -4506015276365558007L;

    public ServiceException(String msg) {
        super("-1", msg);
    }

    public ServiceException(String code, String msg) {
        super(code, msg);
    }

    public ServiceException(Throwable cause) {
        super(cause);
    }

}